package cn.exrick.xboot.enterpriseUser.controllerImp

import cn.exrick.xboot.base.entity.EnterpriseUserStatus
import cn.exrick.xboot.base.service.IEnterpriseUserStatusService
import cn.exrick.xboot.core.common.vo.Result
import cn.exrick.xboot.enterpriseUser.controller.IEnterpriseUserController
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.web.bind.annotation.RestController

@RestController
open class EnterpriseUserStatusController : IEnterpriseUserController.IEnterpriseUserStatus {

    @Autowired
    private lateinit var iEnterpriseUserStatusService: IEnterpriseUserStatusService

    override fun updateEnterpriseUserStatus(enterpriseUserStatus: EnterpriseUserStatus): Result<Any?>? {

        return iEnterpriseUserStatusService.updateEnterpriseUserStatus(enterpriseUserStatus)
    }
}